#ifndef SSELFTOOLBAR_H
#define SSELFTOOLBAR_H

#include <QtGui/QMainWindow>
#include <QtCore/QFileInfo>
#include <QtGui/QFileDialog>
#include <QtCore/QMap>
#include <QtGui/QDesktopWidget>
#include <QtCore/QStringList>
#include "mirrorview.h"

class SelfToolBar : public QObject
{
	Q_OBJECT

public:
	SelfToolBar();
	~SelfToolBar();
public slots:
	//void browse();
	void startShow();
	void hideMirrorView();
	void photoNeeded(int index);
public:


private:
	void findFiles(QDir folder);
	QMap<int,QString> nameMap;
	QMap<int,QFileInfo> pictureMap;
	QStringList filterList;
	MirrorView* mirrorView;
	
};

#endif // SSELFTOOLBAR_H
